package com.eight.travel.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("storec")
//商场实体类
public class Store {
    @TableId(value = "sid", type = IdType.AUTO)
    @ApiModelProperty(value = "商场的主键")
    private Integer sid;            //商场id
    @ApiModelProperty(value = "商场名")
    private String storename;       //商场名
    @ApiModelProperty(value = "商场地址")
    private String storeaddress;    //商场地址
    @ApiModelProperty(value = "商场电话")
    private String storetel;        //商场电话
    @ApiModelProperty(value = "商场热度")
    private Integer storehot;       //商场热度
    @ApiModelProperty(value = "商场评分")
    private String storegrade;      //商场评分
    @ApiModelProperty(value = "商场简介")
    private String storeinfo;       //商场简介
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "营业时间")
    private Date storetime;         //营业时间
    @ApiModelProperty(value = "营业状态")
    private Integer status;         //营业状态

}
